vexpress: disable cci ace slave ports when booting in non-sec/hyp mode
authorSudeep Holla <[email protected]>
Fri, 23 Sep 2016 16:38:39 +0000 (17:38 +0100)
committerTom Rini <[email protected]>
Fri, 7 Oct 2016 14:26:30 +0000 (14:26 +0000)
commit03ab5d136b43296b2eb7d4dd80196381aa719a09
treeb05d9b7c0e050af26a2be4380bc870b297dceac7
parent43e0a3dec0a86a4e1a164f0b3839b6f1435c6685
vexpress: disable cci ace slave ports when booting in non-sec/hyp mode

Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting
to nonsec booting") added support to check if the firmware on TC2  is
configured appropriately before booting in nonsec/hyp mode.

However when booting in non-secure/hyp mode, CCI control must be done in
secure firmware and can't  be done in non-secure/hyp mode. In order to
ensure that, this patch disables the cci slave port inteface so that it
is not accessed at all.

Cc: Jon Medhurst <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Acked-by: Jon Medhurst <[email protected]>
Tested-by: Jon Medhurst <[email protected]>
board/armltd/vexpress/vexpress_tc2.c
configs/vexpress_ca15_tc2_defconfig